package oa.hleast.xswl.pojo.vo.web;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 302
 * @description
 * @date 2021/3/12
 */
@ApiModel("轮播图展示参数")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CmsWebsiteBannerVo {

    private Long id;
    private String title;
    private Long dictPositionTypeId;
    private String dictPositionTypeNameCN;
    private String imageUrl;
    @ApiModelProperty("视频地址")
    private String videoUrl;
    private Long startTime;
    private Long endTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTimeStr;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTimeStr;

    @ApiModelProperty(value = "状态（0未知, 1展示中,10未生效,11已过期）", required = true)
    private Integer showStatusCode;
    private Long sort;
    private String newHtmlLink;
    private String newMiniLink;
    private String newAndroidLink;
    private String newIosLink;

}
